{extend name="../application/public/base.html" /}
{block name="head"}
	<link rel="stylesheet" href="ADMIN_CUSTOM/css/list.css">
    <style type="text/css">
        	.layui-card-body{
			  	min-width: 1045px;
			  	/*overflow-x: hidden !important;*/
			}
			.repair-btn{
				  width: calc(25% - 20px) !important;
				  height: 85px !important;
				  font-size: 25px !important;
				  margin-top: 10px;
				  margin-left: 0px !important;
				  margin-right: 15px !important;
				  line-height: 85px !important;
			}
			.repair-btn:nth-child(1){
			  	background: rgba(0, 204, 255, 1);
			}
			.repair-btn:nth-child(2){
			  	background: rgba(153, 102, 153, 1);
			}
			.repair-btn:nth-child(3){
			  	background: rgba(51, 51, 51, 1);
			}
			.repair-btn:nth-child(4){
			  	background: rgba(153, 0, 0, 1);
			}

			.layui-table tr td{
			  	min-width: 20px !important;
			}
			.layui-table th{
			  	min-width: 20px !important;
			}
        </style>
{/block}
{block name="body"}    
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
						<div class="layui-card-body ">
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('员工销售业绩','/staff/order/statistics')">
								<img src="ADMIN_CUSTOM/img/ddwxpj.png"> | 员工销售业绩
                            </div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('员工维修业绩','/staff/repair/statistics')">
                            	<img src="ADMIN_CUSTOM/img/ddkhsj.png"> | 员工维修业绩
                            </div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('产品销售业绩','/staff/goods/index')">
                            	<img src="ADMIN_CUSTOM/img/dwx.png"> | 产品销售业绩
                            </div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('员工排行榜','/staff/staff/rank')">
                            	<img src="ADMIN_CUSTOM/img/wxz.png"> | 员工排行榜
                            </div>
                        </div>
                        <div class="layui-card-body ">
                        	<form class="layui-form layui-col-space5">
	                            <div class="layui-input-inline layui-show-xs-block">
									<label>部门</label>
								 	<div class="layui-input-inline">
									  	<select name="admin_type" class="layui-select">
	                                        <option value="">全部</option>
	                                        <option value="2">营业部</option>
	                                        <option value="3">维修部</option>
	                                   	</select>
								  	</div>
						     	</div>
                            	<div class="layui-input-inline layui-show-xs-block">
									<label>员工职位</label>
								 	<div class="layui-input-inline">
									  	<select name="admin_type" class="layui-select">
	                                        <option value="">所有职位</option>
	                                        <option value="2">营业员</option>
	                                        <option value="3">维修员</option>
	                                   	</select>
								  	</div>
						     	</div>
						     	<div class="layui-input-inline layui-show-xs-block">
								 	<div class="layui-input-inline keyword-search" style="width: 200px;">
									  	<input type="text" placeholder="请输入关键字进行搜索" name="keyword" autocomplete="off" class="layui-input">
								  	</div>
						     	</div>
                                <div class="layui-input-inline layui-show-xs-block">
                                    <div class="layui-btn" lay-submit="" lay-filter="search">
                                        <i class="layui-icon">&#xe615;</i></div>
                                </div>
                            </form>
                        </div>

                        <div class="layui-card-body">
                            <div class="layui-tab-content">
								<table class="layui-table layui-form" id="shop-list">
	                              	
                            	</table>
						  	</div>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"}
    <script type="text/javascript" src="ADMIN_CUSTOM/js/staff/staff/upper_index.js"></script>
    <script type="text/html" id="table-btn">
		<div class="layui-btn" onclick="xadmin.open('员工销售记录','/staff/order/index/ids/{{d.admin_id}}')">查看销售记录</div>
		<div class="layui-btn" onclick="xadmin.open('员工维修记录','/staff/repair/index/ids/{{d.admin_id}}/type/{{d.admin_type}}')">查看维修记录</div>
		<div class="layui-btn layui-bg-red" lay-event="cencel">删除</div>
    </script>
{/block}